package tpf.designer.pattern.course8.behavior_pattern3.homework;

public class OrNode extends SymbolNode {
    public OrNode(Node left, Node right) {
        super(left, right);
    }

    @Override
    public boolean interpret() {
        return left.interpret() || right.interpret();
    }
}
